package com.hsy.baoinbao.modules.order.gsondata;

import java.util.List;

/**
 * Created by hsy on 2016/3/24.
 */
public class GoodsOrderDetail {

    private String error;

    private String msg;

    private Result result;

    public void setError(String error) {
        this.error = error;
    }

    public String getError() {
        return this.error;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public Result getResult() {
        return this.result;
    }

    public class Result {
        private String id;

        private String contact_name;

        private String contact_phone;

        private String address;

        private List<Goods> goods;

        private int status;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setContact_name(String contact_name) {
            this.contact_name = contact_name;
        }

        public String getContact_name() {
            return this.contact_name;
        }

        public void setContact_phone(String contact_phone) {
            this.contact_phone = contact_phone;
        }

        public String getContact_phone() {
            return this.contact_phone;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddress() {
            return this.address;
        }

        public void setGoods(List<Goods> goods) {
            this.goods = goods;
        }

        public List<Goods> getGoods() {
            return this.goods;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getStatus() {
            return this.status;
        }

    }

    public class Goods {
        private int id;

        private int order_id;

        private int goods_id;

        private int type;

        private int qty;

        private String price;

        private String balance;

        private String total_price;

        private String total_balance;

        private String name;

        private String unit;

        private String list_img;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setOrder_id(int order_id) {
            this.order_id = order_id;
        }

        public int getOrder_id() {
            return this.order_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public int getGoods_id() {
            return this.goods_id;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getType() {
            return this.type;
        }

        public void setQty(int qty) {
            this.qty = qty;
        }

        public int getQty() {
            return this.qty;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice() {
            return this.price;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public String getBalance() {
            return this.balance;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getTotal_price() {
            return this.total_price;
        }

        public void setTotal_balance(String total_balance) {
            this.total_balance = total_balance;
        }

        public String getTotal_balance() {
            return this.total_balance;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getUnit() {
            return this.unit;
        }

        public void setList_img(String list_img) {
            this.list_img = list_img;
        }

        public String getList_img() {
            return this.list_img;
        }

    }
}
